Parallelization of embedded API calls